package com.ahy231.dto;

import io.swagger.annotations.*;
import lombok.*;

import java.io.Serializable;

/**
 * @author ahy231
 * @date 2021/8/2 16:07
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("添加车辆信息")
public class TruckInfo implements Serializable {
    private static final long serialVersionUID = 7770403214321853665L;
    @ApiModelProperty(value = "车辆id（前端不用设置）")
    private String id;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("型号")
    private String type;
    @ApiModelProperty("吨位")
    private Double weight;
    @ApiModelProperty(value = "状态（1/空闲、2/忙碌）", allowableValues = "1,2", example = "1")
    private Integer status;
}
